﻿<UserControl x:Class="NextRecallControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended"
             DataContext="{Binding RelativeSource={RelativeSource Self}}"
             xmlns:lib="clr-namespace:HMSLibrary;assembly=HMSLibrary"
              xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit">
    <Grid>
        <Grid Name="MainGrid">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="100"/>
                <ColumnDefinition Width="300"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="28"/>
                <RowDefinition Height="28"/>
                <RowDefinition Height="28"/>
                <RowDefinition Height="28"/>
                <RowDefinition Height="28"/>
                <RowDefinition Height="28"/>
            </Grid.RowDefinitions>
            <TextBlock Text="Date:" Style="{StaticResource TextBlockStyle}"/>
            <StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="2">
                <DatePicker Grid.Column="3" Height="28" Name="RecallDateDatePicker" Width="160" HorizontalAlignment="Left"/>
                <TextBlock Text="Time:" Style="{StaticResource TextBlockStyle}"/>
                <extToolkit:DateTimeUpDown Width="100" HorizontalAlignment="Left" Name="RecallTime" Format="ShortTime" />
            </StackPanel>
            <TextBlock Text="Assigned Dr.:" Style="{StaticResource TextBlockStyle}"/>
            <ComboBox Grid.Row="1" Margin="2" Grid.Column="1" Name="AssignedDrComboBox" DisplayMemberPath="Name" SelectedValuePath="ID"/>
            <TextBlock Text="Recall Type:" Style="{StaticResource TextBlockStyle}" Grid.Row="2"/>
            <ComboBox Margin="2" Name="RecallTypeComboBox" DisplayMemberPath="Name" Grid.Row="2" Grid.Column="1" SelectedValuePath="ID"/>
            <RadioButton Name="ProcedureRadioButton" Content="Procedure:" Grid.Row="3" Margin="5" GroupName="t"/>
            <ComboBox Margin="2" Name="ProcedureComboBox" DisplayMemberPath="Name" Grid.Row="3" Grid.Column="1" SelectedValuePath="ID" IsEnabled="False"/>
            <RadioButton Name="InvestigationRadioButton" Content="Investigation:" Grid.Row="4" Margin="5" GroupName="t"/>
            <ComboBox Margin="2" Name="InvestigationComboBox" DisplayMemberPath="Name" Grid.Row="4" Grid.Column="1" SelectedValuePath="ID"  IsEnabled="False"/>
            <TextBlock Text="Recall Status:" Style="{StaticResource TextBlockStyle}" Grid.Row="5"/>
            <StackPanel Grid.Row="5" Grid.Column="1" Orientation="Horizontal">
                <ComboBox Margin="2" Width="200" Name="RecallStatusComboBox" DisplayMemberPath="Name" SelectedValuePath="ID"/>
                <CheckBox Margin="5" Content="Remind Me"/>
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>
